﻿
namespace Supermarket.Client
{
    class Program
    {
        static void Main()
        {
            // Task 1
            // This method takes the data from the MySQL database
            // and insetrs it in the SQL Server database
            ProductDBTransferer.ReadWriteProductsData();

            // Unzip sales reports, read and import data into SQL Server central DB
            SalesReportsImporter.ImportSalesReports("..\\..\\ActualSalesReport\\Sample-Sales-Reports.zip");

            // Task 2
            PDFReportGenerator.GenerateAggregatedSalesReport();

            // Task 3
            XMLReportGenerator.GenerateSalesReport();

            // Task 4
            JsonGenerator.RecordJsonFilesAndMongo();

            // Task 5
            XMLReadSave.LoadSaveVendorExpencesInMongo();

            // Task 6
            ProductReportGenerator.GenerateProductReport();
        }
    }
}
